import java.util.Scanner;

public class Ex2_17{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		System.out.print("Enter the temputer in Fahrenheit: ");
		double t = input.nextDouble();
		System.out.print("Enter the wind speed miles per hour: ");
		double v = input.nextDouble();
		double twc = 35.74 + 0.6215*t - 35.75*Math.pow(v, 0.16) + 
			0.4275*t*Math.pow(v, 0.16);
		System.out.printf("The wind chill index is %f\n", twc);
	}
}